/*
 * @Author: zxh
 * @Date: 2024-07-30 11:00:40
 * @LastEditors: zxh
 * @LastEditTime: 2024-08-15 14:05:00
 * @Description: 请填写简介
 */
import http from '@/utils/http'
export const loginAPI = ({ account, password }: any) => {
  return <any>http({
    url: '/login',
    method: 'POST',
    data: {
      account,
      password
    }
  })
}

export const getLikeListAPI = ({ limit = 4 }) => {
  return <any>http({
    url: '/goods/relevant',
    params: {
      limit
    }
  })
}
